import request from "@/utils/request";

// 登录
export const loginApi = (mobile, code) => request.post('/authorizations', {
    mobile,
    code
})

// 获取用户信息
export const getUserInfoApi = () => request.get('/user/profile')